package com.hsu.mapper;

import com.hsu.model.OrderInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * @ClassName: OrderMapper
 * @author Hsu琛君珩
 * @date 2024-07-31
 * @apiNote
 * @Version: v1.0
 */
@Mapper
public interface OrderMapper {

    @Select("SELECT * FROM order_detail WHERE id = #{orderId}")
    OrderInfo selectOrderById(Integer orderId);
}
